package com.ndp.fb.model.fbagent.param.adcreative;


import com.ndp.fb.annotation.FBParam;
import com.ndp.fb.model.fbagent.param.FacebookParam;
import com.restfb.Facebook;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by Sisi on 14-8-20.
 */
@Setter
@Getter
@NoArgsConstructor
public class VideoData extends FacebookParam {
    /**
     * image_hash
     */
	@Facebook("video_id")
    @FBParam("video_id")
    private String videoId;

    /**
     * link
     */
	@Facebook("title")
    @FBParam("title")
    private String title;

    /**
     * message
     */
	@Facebook("description")
    @FBParam("description")
    private String description;

    /**
     * call_to_action
     */
	@Facebook("call_to_action")
    @FBParam("call_to_action")
    private CallToAction callToAction;
	@Facebook("image_url")
    @FBParam("image_url")
    private String imageUrl;
	@Facebook("image_hash")
    @FBParam("image_hash")
    private String imageHash;

	private String pictureName;

	/**
	 * 视频的唯一Md5,视频存在本地，没有video_id，只需要设置为 md5
	 * 增加facebook注释 只是为了从前端解析参数
	 */
	@Facebook("md5")
	private String md5;

	private String mongoId;

}
